/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Function.Model;

namespace JDCloudSDK.Function.Model
{

    /// <summary>
    ///  function
    /// </summary>
    public class Function
    {

        ///<summary>
        /// 函数Id
        ///</summary>
        public string FunctionId{ get; set; }
        ///<summary>
        /// 函数名称
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// 函数描述
        ///</summary>
        public string Description{ get; set; }
        ///<summary>
        /// 函数入口，格式为入口文件.入口函数名
        ///</summary>
        public string Entrance{ get; set; }
        ///<summary>
        /// 函数运行最大内存
        ///</summary>
        public int? Memory{ get; set; }
        ///<summary>
        /// 函数运行环境，目前有python3.6
        ///</summary>
        public string RunTime{ get; set; }
        ///<summary>
        /// 函数超时时间
        ///</summary>
        public int? OverTime{ get; set; }
        ///<summary>
        /// 函数版本名称
        ///</summary>
        public string Version{ get; set; }
        ///<summary>
        /// 函数代码
        ///</summary>
        public Code Code{ get; set; }
        ///<summary>
        /// 函数环境变量
        ///</summary>
        public Env Environment{ get; set; }
        ///<summary>
        /// 函数指定的日志集id
        ///</summary>
        public string LogSetId{ get; set; }
        ///<summary>
        /// 函数指定的日志主题id
        ///</summary>
        public string LogTopicId{ get; set; }
        ///<summary>
        /// 代码包校验和
        ///</summary>
        public string CodeCheckSum{ get; set; }
        ///<summary>
        /// 代码包大小，单位为字节
        ///</summary>
        public int? CodeSize{ get; set; }
        ///<summary>
        /// 代码包下载的url地址
        ///</summary>
        public string DownloadUrl{ get; set; }
        ///<summary>
        /// 函数配置的VPCid
        ///</summary>
        public string VpcId{ get; set; }
        ///<summary>
        /// 函数配置的子网id
        ///</summary>
        public string SubnetId{ get; set; }
        ///<summary>
        /// 函数创建时间
        ///</summary>
        public string CreateTime{ get; set; }
        ///<summary>
        /// 函数最后更新时间
        ///</summary>
        public string UpdateTime{ get; set; }
    }
}
